home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Frameworks / Grant's CGI Framework 1.0b12 / Util / MemoryUtil.h < prev    next >
C/C++ Source or Header  |  1995-12-09  |  781b  |  34 lines

  1. #pragma once
  2. /*****
  3.  *
  4.  *    MemoryUtil.h
  5.  *
  6.  *    This is a support file for "Grant's CGI Framework".
  7.  *    Please see the license agreement that accompanies the distribution package
  8.  *    for licensing details.
  9.  *
  10.  *    Copyright ©1995 by Grant Neufeld
  11.  *    grant@acm.com
  12.  *    http://arpp1.carleton.ca/grant/
  13.  *
  14.  *****/
  15.  
  16. #include "MyConfiguration.h"
  17.  
  18.  
  19. /***  FUNCTION PROTOTYPES  ***/
  20.  
  21.         Handle        MyNewHandle                    ( long, OSErr * );
  22.         Handle        MyNewHandleClear            ( long, OSErr * );
  23.         Ptr            MyNewPtr                    ( long, OSErr * );
  24.         Ptr            MyNewPtrClear                ( long, OSErr * );
  25.         
  26.         Boolean        InitializeEmergencyMemory    ( OSErr * );
  27.         Boolean        IsEmergencyMemAvail            ( void );
  28.     #if !(kCompileWithQuitOnLowMemory)
  29.         OSErr        RecoverEmergencyMemory        ( void );
  30.     #endif
  31. pascal    long        MyGrowZone                    ( Size );
  32.  
  33.  
  34. /*** EOF ***/